<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>表单例子2</title>
</head>
<body>
<form action="">
    <table width="60%" align="center"  cellpadding="0px" cellspacing="0px">
        <caption>用户注册</caption>
        <!--第一行-->
        <tr>
            <td align="right" width="35%">
                <label for="user_name">
                用户名：
                </label>
            </td>
            <td>
                <input type="text" style="width: 90%" id="user_name"  required placeholder="用户名由数字和字母构成，最多8位" maxlength="8">
                <font color="red">*</font>
            </td>
        </tr>
        <!--第二行-->
        <tr>
            <td align="right" width="35%">
                <label for="user_password">
                    密码：
                </label>

            </td>
            <td>
                <input type="password" style="width: 90%" id="user_password" required placeholder="用户名由数字和字母构成，最多8位" maxlength="8">
                <font color="red">*</font>
            </td>
        </tr>
        <!--第三行-->
        <tr>
            <td align="right" width="35%">密码提示问题	：</td>
            <td>
                <select style="width: 92%">
                    <option >我爱吃什么？</option>
                </select>
            </td>
        </tr>
        <!--第四行-->
        <tr>
            <td align="right" width="35%">答案：</td>
            <td>
                <input type="text" style="width: 90%"> <font color="red">*</font>
            </td>
        </tr>
        <!--第五行-->
        <tr>
            <td align="right" width="35%">电话：</td>
            <td>
                <input type="tel" style="width: 90%" required maxlength="11">
                <font color="red">*</font>
            </td>
        </tr>
        <!--第六行-->
            <td align="right" width="35%">邮箱：</td>
            <td>
                <input type="email" style="width: 90%" required> <font color="red">*</font>
            </td>
        </tr>
        <!--第七行-->
        <tr>
            <td align="right" width="35%">QQ：</td>
            <td>
                <input type="number" style="width: 90%" required max="9999999999"> <font color="red">*</font>
            </td>
        </tr>
        <!--第八行-->
        <tr>
            <td align="right" width="35%">&nbsp;</td>
            <td>
                <input type="checkbox">
                我已阅读并接受《许可协议》
            </td>
        </tr>
        <!--第九行-->
        <tr align="center">
            <td colspan="2">
                <input type="submit" value="提交" disabled="true">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <input type="reset" value="重置">
            </td>
        </tr>

    </table>
</form>
</body>
</html>